package com.yb.personelmanagement.domain.System;

/**
 * @Auther: lzx
 * @Date: 2019/8/8 11:14
 * @Description: 结果封装
 */
public class Result {
	
	//是否成功
	private boolean flag;
    
    //结果数据
    private Object object;
    //描述
    private String  description;
    
    private StatusCode statusCode;

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public StatusCode getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(StatusCode statusCode) {
		this.statusCode = statusCode;
	}

	public Result(boolean flag, Object object, String description, StatusCode statusCode) {
		super();
		this.flag = flag;
		this.object = object;
		this.description = description;
		this.statusCode = statusCode;
	}

    
}
